package models;

public class Mob {

	//Atributos
	private int mobID;
	private int xPos;
	private int yPos;
	private int health;
	public static final int DEFAULT_HEALTH = 6;
	
	//Construtor
	public Mob(int xPos, int yPos, int level, int mobID){
		this.xPos = xPos;
		this.yPos = yPos;
		this.mobID = mobID;
		this.health = DEFAULT_HEALTH * level;
	}
	
	//Construtor
	public Mob(int level, int mobID){
		this.mobID = mobID;
		this.health = DEFAULT_HEALTH * level;
	}
	
	//Setters
	public void setXPos(int xPos){
		this.xPos = xPos;
	}
	
	public void setYPos(int YPos){
		this.yPos = YPos;
	}
	
	public void setHealth(int health){
		this.health = health;
	}
	
	public void setMobID(int mobID) {
		this.mobID = mobID;
	}
	
	//Getters
	public int getHealth(){
		return health;
	}

	public int getYPos() {
		return yPos;
	}

	public int getXPos() {
		return xPos;
	}
	
	public int getMobID() {
		return mobID;
	}
	

}
